﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace SDSystem.Models
{
    public class ContactMeta
    {
        [ScaffoldColumn(false)]
        public int ContactId { get; set; }

        [StringLength(255, ErrorMessage = "First Name must contain least 5 characters", MinimumLength = 5)]
        [Required(ErrorMessage = "Name is required")]
        [DisplayName("First Name")]
        public string FirstName { get; set; }

        [StringLength(255, ErrorMessage = "Sure Name must contain least 10 characters", MinimumLength = 5)]
        [Required(ErrorMessage = "SureName is required")]
        [DisplayName("Sure Name")]
        public string SureName { get; set; }
    }
}
